Conversation
Summary of ChangesHello @tkv00, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 Pull Request는 배치 처리 로직의 견고성을 높이기 위해 광범위한 단위 테스트를 도입합니다. 사용자 정보 로딩, Solved.ac API 호출, 스냅샷 로딩 및 저장, 사용자 티어 및 문제 변경 감지 등 배치 작업의 핵심 구성 요소들이 개별적으로 검증됩니다. 이를 통해 배치 시스템의 안정성과 정확성이 향상될 것으로 기대됩니다. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
slackjudge/src/test/java/store/slackjudge/batch/tasklet/LoadSnapshotTaskletTest.java
Show resolved
Hide resolved
| import java.util.Set; | ||
|
|
||
| import static org.assertj.core.api.Assertions.assertThat; | ||
| import static org.junit.jupiter.api.Assertions.*; |
...c/test/java/store/slackjudge/batch/tasklet/DetectAndUpdateUserTierAndProblemTaskletTest.java
Show resolved
Hide resolved
slackjudge/src/test/java/store/slackjudge/batch/tasklet/LoadSnapshotTaskletTest.java
Show resolved
Hide resolved
slackjudge/src/test/java/store/slackjudge/batch/tasklet/LoadSnapshotTaskletTest.java
Show resolved
Hide resolved
slackjudge/src/test/java/store/slackjudge/batch/tasklet/LoadSnapshotTaskletTest.java
Show resolved
Hide resolved
| import org.mockito.Mock; | ||
| import org.mockito.junit.jupiter.MockitoExtension; | ||
| import org.springframework.batch.core.JobExecution; | ||
| import org.springframework.batch.core.StepContribution; | ||
| import org.springframework.batch.core.StepExecution; | ||
| import org.springframework.batch.core.scope.context.ChunkContext; | ||
| import org.springframework.batch.core.scope.context.StepContext; | ||
| import org.springframework.batch.item.ExecutionContext; | ||
| import org.springframework.batch.repeat.RepeatStatus; | ||
| import store.slackjudge.batch.config.BatchLogger; | ||
| import store.slackjudge.batch.infra.mongo.document.UserSolvedSnapShotDocument; |
|



🍀 이슈 번호
✅ 작업 사항
SnapshotDocument의 복합 id인SnapshotId의 오버라이딩 메서드 테스트 검증ProblemJdbcRepository벌크성 업데이트 쿼리 테스트 검증⌨ 기타